package com.fs.global.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
public class CustomConfig {
    @Value("${custom.picfit.address}")
    private String picfitAddress;

    @Value("${custom.picfit.directory}")
    private String picfitDir;

    @Value("${custom.wechat.appId}")
    private String wxAppID;

    @Value("${custom.wechat.appSecret}")
    private String wxAppSecret;

    @Value("${custom.sundray.appid}")
    private int sundrayAppId;

    @Value("${custom.sundray.token}")
    private String sundrayToken;

    @Value("${custom.sundray.baseurl}")
    private String sundrayBaseUrl;

    @Value("${custom.sundray.spaceid}")
    private String sundraySpaceId;

    @Value("${custom.aliyun.accessKeyId}")
    private String aliAccessKeyId;

    @Value("${custom.aliyun.accessKeySecret}")
    private String aliAccessKeySecret;

    @Value("${custom.aliyun.signName}")
    private String aliSignName;

    @Value("${custom.aliyun.templateCode}")
    private String aliTemplateCode;

    public String getSundrayBaseUrl() {
        return sundrayBaseUrl;
    }

    public String getWxAppID() {
        return wxAppID;
    }

    public String getWxAppSecret() {
        return wxAppSecret;
    }

    public String getPicfitAddress() {
        return picfitAddress;
    }

    public String getPicfitDir() {
        return picfitDir;
    }

    public int getSundrayAppId() {
        return sundrayAppId;
    }

    public String getSundrayToken() {
        return sundrayToken;
    }

    public String getAliAccessKeyId() {
        return aliAccessKeyId;
    }

    public String getAliAccessKeySecret() {
        return aliAccessKeySecret;
    }

    public String getAliSignName() {
        return aliSignName;
    }

    public String getAliTemplateCode() {
        return aliTemplateCode;
    }

    public String getSundraySpaceId() {
        return sundraySpaceId;
    }
}

